<template>
    <view class="demo-container">
        <h1 @click="handleGo">登录</h1>
    </view>
</template>
<!--业务代码-->
<script name="demo" setup>
/** Base */

/** Data */

/** Method*/
const handleGo = (val) => {
    uni.navigateTo({
      url: '/pages/index'
    })
}

</script>
<!--样式-->
<style lang="scss" scoped>
    @import 'index.scss';
</style>
